package cn.com.api.service.base;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_coupon;

/**
 * 
 */
@Service
public interface U_couponServiceBase {

	//根据id查看
	public ApiU_coupon findU_couponById(Integer id);
	
    //查看数据集
	public List<ApiU_coupon> findU_coupons();
    
    //根据条件查看数据集
	public List<Map<String, Object>> findU_couponsByMap(HashMap condition);
    
	//添加
 	public int insertU_coupon(ApiU_coupon u_coupon);
  	
	//修改
    public int updateU_coupon(ApiU_coupon u_coupon);
    
    //删除
    public int deleteU_coupon(Integer id);
    
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
 
}


